package com.ruoyi.system.service.impl;

import com.ruoyi.common.core.query.AuthListQuery;
import com.ruoyi.system.mapper.FileAuthMapper;
import com.ruoyi.system.service.FileAuthService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
@AllArgsConstructor
@Slf4j
public class FileAuthServiceImpl  implements FileAuthService {

    private final FileAuthMapper fileAuthMapper;
    @Override
    public List<Map<String, Object>> selectAuthList() {
        return fileAuthMapper.selectAuthList();
    }

    @Override
    public List<Map<String, Object>> selectFileAuthRefByRefIdAndFileId(AuthListQuery authListQuery) {
        return fileAuthMapper.selectFileAuthRefByRefIdAndFileId(authListQuery);
    }


}
